#!/usr/bin/env python

import sys
sys.path += ['/home/boincadm/projects/alpha/bin']

import boinc_path_config
from Boinc import database, boinc_db, configxml

def main():
    appname = "alpha"
    database.connect()
    app = database.Apps.find1(name=self.appname)
    database.Workunits.find(app=app,

